<!--/api/validateClass.json-->
<div>
    <div id="validateClass.json"><h1>&nbsp;</h1></div>
    <div class="page-header">
        <h4>19.校验系统class是否存在</h4>
    </div>
    <div class="row">
        <div class="col-lg-12">
            <form class="form-horizontal">
                <div class="form-group">
                    <label class="col-lg-2 control-label">
                        描述:
                    </label>
                    <label class="col-lg-10 control-label" style="text-align:left">
                        校验系统class是否存在
                    </label>
                </div>
                <div class="form-group">
                    <label class="col-lg-2 control-label">
                        url:
                    </label>
                    <label class="col-lg-10 control-label" style="text-align:left">
                        /api/validateClass.json
                    </label>
                </div>
                <div class="form-group">
                    <label class="col-lg-2 control-label">
                        输入参数:
                    </label>
                    <div class="col-lg-10" >
                        <table class="table table-striped table-bordered table-condensed">
                            <tr>
                                <th style="width: 20%">参数名称</th>
                                <th style="width: 10%">类型</th>
                                <th style="width: 10%">是否必填</th>
                                <th>描述</th>
                            </tr>
                            <tr>
                                <td>className</td>
                                <td>string</td>
                                <td>YES</td>
                                <td>类名称</td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-lg-2 control-label">
                        输出参数:
                    </label>
                    <div class="col-lg-10" >
                        <table class="table table-striped table-bordered table-condensed">
                            <tr>
                                <th style="width: 20%">参数名称</th>
                                <th style="width: 10%">类型</th>
                                <th>描述</th>
                            </tr>
                            <tr>
                                <td>result</td>
                                <td>string</td>
                                <td>
                                    true:存在<br>
                                    false:不存在<br>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-lg-2 control-label">
                        请求示例:
                    </label>
                    <div class="col-lg-10" >
                        <pre>url/api/validateClass.json</pre>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-lg-2 control-label">
                        返回信息:
                    </label>
                    <div class="col-lg-10" >
                         <pre class="jsonCode">
                            {
                                "resultCode": 1,
                                "content": {
                                    "result": false
                                }
                            }
                         </pre>
                    </div>
                </div>

            </form>
        </div>
    </div>
</div>
<!--end /api/validateClass.json-->

<!--/api/classInfo.json-->
<div>
    <div id="classInfo.json"><h1>&nbsp;</h1></div>
    <div class="page-header">
        <h4>20.获取class信息</h4>
    </div>
    <div class="row">
        <div class="col-lg-12">
            <form class="form-horizontal">
                <div class="form-group">
                    <label class="col-lg-2 control-label">
                        描述:
                    </label>
                    <label class="col-lg-10 control-label" style="text-align:left">
                        获取class信息
                    </label>
                </div>
                <div class="form-group">
                    <label class="col-lg-2 control-label">
                        url:
                    </label>
                    <label class="col-lg-10 control-label" style="text-align:left">
                        /api/classInfo.json
                    </label>
                </div>
                <div class="form-group">
                    <label class="col-lg-2 control-label">
                        输入参数:
                    </label>
                    <div class="col-lg-10" >
                        <table class="table table-striped table-bordered table-condensed">
                            <tr>
                                <th style="width: 20%">参数名称</th>
                                <th style="width: 10%">类型</th>
                                <th style="width: 10%">是否必填</th>
                                <th>描述</th>
                            </tr>
                            <tr>
                                <td>className</td>
                                <td>string</td>
                                <td>YES</td>
                                <td>类名称</td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-lg-2 control-label">
                        输出参数:
                    </label>
                    <div class="col-lg-10" >
                        <table class="table table-striped table-bordered table-condensed">
                            <tr>
                                <th style="width: 20%">参数名称</th>
                                <th style="width: 10%">类型</th>
                                <th>描述</th>
                            </tr>
                            <tr>
                                <td>jobType</td>
                                <td>string</td>
                                <td>
                                    1:继承org.quartz.Job类<br>
                                    2:非继承org.quartz.Job类
                                </td>
                            </tr>
                            <tr>
                                <td>constructorInfo</td>
                                <td>json array</td>
                                <td>
                                    返回构造函数类型的数组
                                </td>
                            </tr>
                            <tr>
                                <td>methodInfo</td>
                                <td>json array</td>
                                <td>
                                    返回方法名称和方法类型的数组<br>
                                    注意:方法名称后附件了一个#号,使用时请去除
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-lg-2 control-label">
                        请求示例:
                    </label>
                    <div class="col-lg-10" >
                        <pre>url/api/classInfo.json?className=com.github.quartzweb.job.Test</pre>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-lg-2 control-label">
                        返回信息:
                    </label>
                    <div class="col-lg-10" >
                         <pre class="jsonCode">
                            {
                                "resultCode": 1,
                                "content": {
                                    "jobType": 2,
                                    "constructorInfo": [
                                        [
                                            "java.lang.String",
                                            "int",
                                            "java.lang.Double",
                                            "java.lang.Float",
                                            "java.util.Date"
                                        ],
                                        [
                                            "java.lang.String",
                                            "int",
                                            "java.lang.Double",
                                            "java.lang.Float"
                                        ],
                                        [
                                            "java.lang.String",
                                            "int"
                                        ]
                                    ],
                                    "methodInfo": [
                                        {
                                            "toString#": []
                                        },
                                        {
                                            "test#": [
                                                "java.lang.String",
                                                "int"
                                            ]
                                        },
                                        {
                                            "test#": [
                                                "java.util.Date"
                                            ]
                                        },
                                        {
                                            "test#": []
                                        }
                                    ],
                                    "result": true
                                }
                            }
                        </pre>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
<!--end /api/classInfo.json-->

<!--/api/assignable.json-->
<div>
    <div id="assignable.json"><h1>&nbsp;</h1></div>
    <div class="page-header">
        <h4>21.校验是否继承</h4>
    </div>
    <div class="row">
        <div class="col-lg-12">
            <form class="form-horizontal">
                <div class="form-group">
                    <label class="col-lg-2 control-label">
                        描述:
                    </label>
                    <label class="col-lg-10 control-label" style="text-align:left">
                        重启(job)作业
                    </label>
                </div>
                <div class="form-group">
                    <label class="col-lg-2 control-label">
                        url:
                    </label>
                    <label class="col-lg-10 control-label" style="text-align:left">
                        /api/assignable.json
                    </label>
                </div>
                <div class="form-group">
                    <label class="col-lg-2 control-label">
                        输入参数:
                    </label>
                    <div class="col-lg-10" >
                        <table class="table table-striped table-bordered table-condensed">
                            <tr>
                                <th style="width: 20%">参数名称</th>
                                <th style="width: 10%">类型</th>
                                <th style="width: 10%">是否必填</th>
                                <th>描述</th>
                            </tr>
                            <tr>
                                <td>className</td>
                                <td>String</td>
                                <td>YES</td>
                                <td>比较类名称1</td>
                            </tr>
                            <tr>
                                <td>assignableClassName</td>
                                <td>String</td>
                                <td>YES</td>
                                <td>比较类名称2</td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-lg-2 control-label">
                        输出参数:
                    </label>
                    <div class="col-lg-10" >
                        <table class="table table-striped table-bordered table-condensed">
                            <tr>
                                <th style="width: 20%">参数名称</th>
                                <th style="width: 10%">类型</th>
                                <th>描述</th>
                            </tr>
                            <tr>
                                <td>result</td>
                                <td>string</td>
                                <td>
                                    true:继承,类型相同<br>
                                    false:非继承,类型不相同<br>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-lg-2 control-label">
                        请求示例:
                    </label>
                    <div class="col-lg-10" >
                        <pre>url/api/assignable.json?className=com.github.quartzweb.job.TestJob&assignableClassName=org.quartz.Job</pre>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-lg-2 control-label">
                        返回信息:
                    </label>
                    <div class="col-lg-10" >
                         <pre class="jsonCode">
                            {
                                "resultCode": 1,
                                "content": {
                                    "result": false
                                }
                            }
                        </pre>
                    </div>
                </div>

            </form>
        </div>
    </div>
</div>
<!--end /api/assignable.json-->

<!--/api/validateJob.json-->
<div>
    <div id="validateJob.json"><h1>&nbsp;</h1></div>
    <div class="page-header">
        <h4>22.校验Job合法性</h4>
    </div>
    <div class="row">
        <div class="col-lg-12">
            <form class="form-horizontal">
                <div class="form-group">
                    <label class="col-lg-2 control-label">
                        描述:
                    </label>
                    <label class="col-lg-10 control-label" style="text-align:left">
                        校验Job合法性(校验是否存在)
                    </label>
                </div>
                <div class="form-group">
                    <label class="col-lg-2 control-label">
                        url:
                    </label>
                    <label class="col-lg-10 control-label" style="text-align:left">
                        /api/validateJob.json
                    </label>
                </div>
                <div class="form-group">
                    <label class="col-lg-2 control-label">
                        输入参数:
                    </label>
                    <div class="col-lg-10" >
                        <table class="table table-striped table-bordered table-condensed">
                            <tr>
                                <th style="width: 20%">参数名称</th>
                                <th style="width: 10%">类型</th>
                                <th style="width: 10%">是否必填</th>
                                <th>描述</th>
                            </tr>
                            <tr>
                                <td>schedulerName</td>
                                <td>String</td>
                                <td>YES</td>
                                <td>(scheduler)调度器名称</td>
                            </tr>
                            <tr>
                                <td>jobName</td>
                                <td>String</td>
                                <td>YES</td>
                                <td>(job)作业名称</td>
                            </tr>
                            <tr>
                                <td>jobGroup</td>
                                <td>String</td>
                                <td>YES</td>
                                <td>(job)作业分组</td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-lg-2 control-label">
                        输出参数:
                    </label>
                    <div class="col-lg-10" >
                        <table class="table table-striped table-bordered table-condensed">
                            <tr>
                                <th style="width: 20%">参数名称</th>
                                <th style="width: 10%">类型</th>
                                <th>描述</th>
                            </tr>
                            <tr>
                                <td>result</td>
                                <td>string</td>
                                <td>
                                    true:合法<br>
                                    false:不合法<br>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-lg-2 control-label">
                        请求示例:
                    </label>
                    <div class="col-lg-10" >
                        <pre>url/api/validateJob.json?schedulerName=quartzScheduler&jobName=jobName&jobGroup=jobGroup</pre>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-lg-2 control-label">
                        返回信息:
                    </label>
                    <div class="col-lg-10" >
                         <pre class="jsonCode">
                            {
                                "resultCode": 1,
                                "content": {
                                    "result": false
                                }
                            }
                        </pre>
                    </div>
                </div>

            </form>
        </div>
    </div>
</div>
<!--end /api/validateJob.json-->

<!--/api/validateTrigger.json-->
<div>
    <div id="validateTrigger.json"><h1>&nbsp;</h1></div>
    <div class="page-header">
        <h4>23.校验Trigger合法性</h4>
    </div>
    <div class="row">
        <div class="col-lg-12">
            <form class="form-horizontal">
                <div class="form-group">
                    <label class="col-lg-2 control-label">
                        描述:
                    </label>
                    <label class="col-lg-10 control-label" style="text-align:left">
                        校验Trigger合法性(是否存在)
                    </label>
                </div>
                <div class="form-group">
                    <label class="col-lg-2 control-label">
                        url:
                    </label>
                    <label class="col-lg-10 control-label" style="text-align:left">
                        /api/validateTrigger.json
                    </label>
                </div>
                <div class="form-group">
                    <label class="col-lg-2 control-label">
                        输入参数:
                    </label>
                    <div class="col-lg-10" >
                        <table class="table table-striped table-bordered table-condensed">
                            <tr>
                                <th style="width: 20%">参数名称</th>
                                <th style="width: 10%">类型</th>
                                <th style="width: 10%">是否必填</th>
                                <th>描述</th>
                            </tr>
                            <tr>
                                <td>schedulerName</td>
                                <td>String</td>
                                <td>YES</td>
                                <td>(scheduler)调度器名称</td>
                            </tr>
                            <tr>
                                <td>triggerName</td>
                                <td>String</td>
                                <td>YES</td>
                                <td>(trigger)触发器名称</td>
                            </tr>
                            <tr>
                                <td>triggerGroup</td>
                                <td>String</td>
                                <td>YES</td>
                                <td>(trigger)触发器分组</td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-lg-2 control-label">
                        输出参数:
                    </label>
                    <div class="col-lg-10" >
                        <table class="table table-striped table-bordered table-condensed">
                            <tr>
                                <th style="width: 20%">参数名称</th>
                                <th style="width: 10%">类型</th>
                                <th>描述</th>
                            </tr>
                            <tr>
                                <td>result</td>
                                <td>string</td>
                                <td>
                                    true:合法<br>
                                    false:不合法<br>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-lg-2 control-label">
                        请求示例:
                    </label>
                    <div class="col-lg-10" >
                        <pre>url/api/validateTrigger.json?schedulerName=quartzScheduler
                            &triggerName=triggerName
                            &triggerGroup=triggerGroup</pre>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-lg-2 control-label">
                        返回信息:
                    </label>
                    <div class="col-lg-10" >
                         <pre class="jsonCode">
                            {
                                "resultCode": 1,
                                "content": {
                                    "result": false
                                }
                            }
                        </pre>
                    </div>
                </div>

            </form>
        </div>
    </div>
</div>
<!--end /api/validateTrigger.json-->

<!--/api/validateCronExpression.json-->
<div>
    <div id="validateCronExpression.json"><h1>&nbsp;</h1></div>
    <div class="page-header">
        <h4>24.校验Cron表达式是否合法</h4>
    </div>
    <div class="row">
        <div class="col-lg-12">
            <form class="form-horizontal">
                <div class="form-group">
                    <label class="col-lg-2 control-label">
                        描述:
                    </label>
                    <label class="col-lg-10 control-label" style="text-align:left">
                        校验Cron表达式是否合法
                    </label>
                </div>
                <div class="form-group">
                    <label class="col-lg-2 control-label">
                        url:
                    </label>
                    <label class="col-lg-10 control-label" style="text-align:left">
                        /api/validateCronExpression.json
                    </label>
                </div>
                <div class="form-group">
                    <label class="col-lg-2 control-label">
                        输入参数:
                    </label>
                    <div class="col-lg-10" >
                        <table class="table table-striped table-bordered table-condensed">
                            <tr>
                                <th style="width: 20%">参数名称</th>
                                <th style="width: 10%">类型</th>
                                <th style="width: 10%">是否必填</th>
                                <th>描述</th>
                            </tr>
                            <tr>
                                <td>cronExpression</td>
                                <td>String</td>
                                <td>YES</td>
                                <td>cron表达式</td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-lg-2 control-label">
                        输出参数:
                    </label>
                    <div class="col-lg-10" >
                        <table class="table table-striped table-bordered table-condensed">
                            <tr>
                                <th style="width: 20%">参数名称</th>
                                <th style="width: 10%">类型</th>
                                <th>描述</th>
                            </tr>
                            <tr>
                                <td>result</td>
                                <td>string</td>
                                <td>
                                    true:合法<br>
                                    false:不合法<br>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-lg-2 control-label">
                        请求示例:
                    </label>
                    <div class="col-lg-10" >
                        <pre>url/api/validateCronExpression.json?cronExpression=0/5 * * * * ?</pre>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-lg-2 control-label">
                        返回信息:
                    </label>
                    <div class="col-lg-10" >
                         <pre class="jsonCode">
                            {
                                "resultCode": 1,
                                "content": {
                                    "result": true
                                }
                            }
                        </pre>
                    </div>
                </div>

            </form>
        </div>
    </div>
</div>
<!--end /api/validateCronExpression.json-->